Page({
  data: {
    nav: ["全部", "支出","收入"],
    currnav: 0
  },
  onLoad: function (options) {
  
  },
  currrnav: function (e) {
    console.log(e)
    var currnav = e.currentTarget.dataset.index;
    this.setData({
      currnav: currnav
    })
  }
})